package freespiritsocial.io.user.viewmodel.viewmodelStore

import androidx.lifecycle.ViewModelStore
import androidx.lifecycle.ViewModelStoreOwner

/**
 * @description 注册viewModel 作用域
 * @author csw
 * @date 2021-10-14
 */
class PostListViewModelOwner :ViewModelStoreOwner{
    private val mViewModelStore by lazy(LazyThreadSafetyMode.NONE) {
        ViewModelStore()
    }
    override fun getViewModelStore(): ViewModelStore {
        return mViewModelStore
    }
}